
<div id="emailContainer" name="emailContainer">
</div>

<script>
    var clean = DOMPurify.sanitize("{{.Mail.Body.Content}}");
    document.getElementById("emailContainer").innerHTML = clean;
    document.getElementById("mailModalTitle").innerHTML = "{{.Mail.Subject}} <span class='badge badge-primary'>{{.Mail.ReceivedDateTime}}</span>";
</script>
